<?php
namespace Swiftx\Bundle\WeChat\Interfaces\Controller\ClientApi;
use Swiftx\Interfaces\Httpd\Request;
use Swiftx\Interfaces\Httpd\Response;

/**
 * 小程序客户端接口
 * @default-implement Swiftx\Bundle\WeChat\Controller\ClientApi\AppLie singleton=true
 * @router-annotation Swiftx\Component\Router\Annotation\Method
 */
interface AppLie {

    /**
     * 获取店铺信息
     * @param Request   $request
     * @param Response  $response
     * @router method   get
     * @return bool
     */
    public function storeInfo(Request $request, Response $response):bool;

    /**
     * 获取商品列表
     * @param Request   $request
     * @param Response  $response
     * @router method   get
     * @return bool
     */
    public function goodsList(Request $request, Response $response):bool;

    /**
     * 获取商品详细
     * @param Request   $request
     * @param Response  $response
     * @router method   get
     * @return bool
     */
    public function goodsInfo(Request $request, Response $response):bool;

}